package com.study.selection.service;

import com.study.selection.model.Course;

import java.util.List;

public interface CourseService {
    List<Course> findAll();

    List<Course> findByKey(String key);

    boolean addCourse(Course course);

    Course getByCourseId(int courseId);

    List<Course> getByTeacherId(int teacherId);

    boolean updateCourse(Course course);
    // 逻辑删除
    boolean deleteCourse(int courseId);

}
